package oop1.Task1;

public class Pc {
    String brand;
    double price;
    String color;
    double width;

    public void show() {
        System.out.println("电脑的品牌是" + brand + ",价格是" + price+"元");
        System.out.println("颜色是" + color + ",屏幕尺寸是" + width + "寸");
    }
}
